package com.puppet.mapper;

import com.puppet.pojo.BookType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.puppet.pojo.vo.BookTypeVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 长乐
* @description 针对表【t_book_type】的数据库操作Mapper
* @createDate 2025-03-27 14:34:19
* @Entity com.puppet.pojo.BookType
*/
public interface BookTypeMapper extends BaseMapper<BookType> {
@Select("select id,name from t_book_type")
    List<BookTypeVO> getBookTypeNameAndId();
}




